{include file="file:$theme_global/_header.tpl"}		
<div id="main">	
	<div class="title"><h1>{$pagetitle}</h1></div>
	{include file="file:$theme_global/_messages.tpl"}
	<p>Uploading image for {$user.full_name} ({$user.username}). This user is <b>{$user.gender}</b></p>
	<p>Images should be in JPG, GIF or PNG format and will be resized to {$image_size} pixels on the longest side.</p>
	<form method="post" action="/user/testdata" enctype="multipart/form-data">
		<fieldset>
			<div class="field">
				<label for="image_field">Select file</label>
				<div class="input">
					<input type="file" value="" name="image_field" id="image_field" size="30" class="text" />
				</div>
			</div>
		</fieldset>
		<div class="submit">
			<input type="hidden" value="{$user.username}" name="username" />
			<input type="submit" value="Upload" title="Upload image" />
		</div>
	</form>
</div>		
{include file="file:$theme_global/_footer.tpl"}